﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace NDBGen.Tests
{
    public static class ParserAccessor
    {
        public static List<ScriptedTableData> ParseScriptedData(String path, String s)
        {
            return Parser.ParseScriptedData(path, s);
        }

        public static List<Table> ParseTables(String s)
        {
            return Parser.ParseTables(s);
        }

        public static List<Table> ParseTables(String s, IGrouping<String, ScriptedTableData>[] scriptedData)
        {
            return Parser.ParseTables(s, scriptedData);
        }
    }
}